//
//  Log.m
//  AifudaoIPad
//
//  Created by Ji Hu on 12-7-3.
//  Copyright (c) 2012年 爱辅导. All rights reserved.
//

#import "Log.h"

@implementation Log

+(void)error:(NSString *)errorstring{
    NSLog(@"!--error--! %@",errorstring);
}

+(void)debug:(NSString *)debugstring{
    NSLog(@"-debug- %@",debugstring);
}

+(void)warning:(NSString *)warningstring{
    NSLog(@"!--warning--! %@",warningstring);
}

+(void)logCGRect:(CGRect)rect{
    NSLog(@"CGRect x:%f y:%f width:%f height:%f",rect.origin.x,rect.origin.y,rect.size.width,rect.size.height);
}

@end
